package com.captjack.micro.service.message.handler;

/**
 * 短信service
 *
 * @author Jack Sparrow
 * @version 1.0.0
 * @date 2018/7/8 00:52
 * package com.captjack.micro.api.message
 */
public interface ShortMessageService {

    /**
     * 发送手机短信
     *
     * @param sim     手机号
     * @param message 信息
     * @return 是否发送成功
     * @throws Exception 异常
     */
    boolean sendMessage(long sim, String message) throws Exception;

}
